<div id="user">
	<?php e($form->create('User'));?>
		<fieldset id="user-add">
			<legend>Add a new user</legend>
		<?php e($form->input('username'));?>
		<?php e($form->input('passwd', array('type'=>'password')));?>
		<?php e($form->input('name'));?>
		<?php e($form->input('email'));?>
		<?php echo $form->input('group_id', array('options' => $groups));?>
		<?php echo $form->input('active');?>
		</fieldset>
		
		<?php e($form->submit('Add User'));?> <?php e($html->link('Cancel', '/admin/users/index', array('class'=>'delete')));?>
	<?php e($form->end());?>
</div>